package com.worldtolearn.offer.bu;

import javax.inject.Inject;
import javax.inject.Named;

import com.worldtolearn.offer.dao.DescriptionDao;
import com.worldtolearn.offer.entity.Description;

@Named
public class DescriptionBu implements IDescriptionBu {
	
	@Inject
	DescriptionDao descriptionDao;
	
	@Override
	public void createDescription(Description description) {
		descriptionDao.createDescription(description);
	}

	public DescriptionDao getDescriptionDao() {
		return descriptionDao;
	}

	public void setDescriptionDao(DescriptionDao descriptionDao) {
		this.descriptionDao = descriptionDao;
	}
	
	

}
